#include <iostream>
using std::cout;
using std::endl;

void test0(){
    int num = 10;
    const int * p = &num;
    /* *p = 1000; */
    int * p2 = const_cast<int*>(p);
    *p2 = 100;
    cout << *p2 << endl;
    cout << num << endl;
    cout << p2 << endl;
    cout << &num << endl;

}

int main(void){
    test0();
    return 0;
}
